<?php
namespace Service;

class UserAccountLog extends Base
{

    private $database = null;

    public function getDatabase()
    {
        if($this->database){
            return $this->database;
        }
        $this->database = $this->get(DATABASE_USERACCOUNTLOG);
        return $this->database;
    }

    public function getList($userId, $page, $limit)
    {
        return $this->getDatabase()->getList($userId, $page, $limit);
    }

}